role = input("请输入用户角色(admin/user/guest/):")
if role == "admin":
    print("允许访问所有功能")
elif role =="user":
    print("允许查看基础数据")
elif role =="guest":
    print("仅允许查看公开界面")
else:
    print("角色无效")